package com.bzkj.inventory.domain;

import com.bzkj.common.annotation.Excel;

import java.util.Date;

/**
 * @ClassName InventoryDiscrepancyDetail
 * @Description TODO
 * @Author C1309
 * @Date 2025/5/14 9:55
 */
public class InventoryDiscrepancyDetail {
    private Long id;
    @Excel(name = "任务主键")
    private Long taskId;
    @Excel(name = "仓库名称")
    private String warehouseName;
    @Excel(name = "仓库主键")
    private String warehousePk;
    @Excel(name = "仓库编码")
    private String warehouseCode;
    @Excel(name = "物料名称")
    private String materialName;
    @Excel(name = "物料主键")
    private String pkMaterial;
    @Excel(name = "物料编码")
    private String materialCode;
    @Excel(name = "批次主键")
    private String pkBatchCode;
    @Excel(name = "批次号")
    private String vbatchcode;
    @Excel(name = "生产厂商名称")
    private String cproductorname;
    @Excel(name = "生产厂商主键")
    private String cproductorid;
    @Excel(name = "生产商编码")
    private String cproductorcode;
    @Excel(name = "库存状态")
    private String inventoryStatus;
    @Excel(name = "WMS库存数量")
    private String wmsQty;
    @Excel(name = "NCC库存数量")
    private String nccQty;
    @Excel(name = "差异类型", readConverterExp = "NCC_ONLY=NCC存在库存但WMS无库存,WMS_ONLY=WMS存在库存但NCC无库存,QUANTITY_DIFF=库存数量存在差异")
    private String discrepancyType;
    @Excel(name ="差异数量")
    private String discrepancyQty;
    //    @Excel(name = "已解决", readConverterExp = "0:否,1:是")
    private Boolean isResolved;
    //    @Excel(name = "解决时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date resolveTime;
    //    @Excel(name = "解决人")
    private String resolver;
    @Excel(name = "备注")
    private String remark;
    @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public String getPkMaterial() {
        return pkMaterial;
    }

    public void setPkMaterial(String pkMaterial) {
        this.pkMaterial = pkMaterial;
    }

    public String getPkBatchCode() {
        return pkBatchCode;
    }

    public void setPkBatchCode(String pkBatchCode) {
        this.pkBatchCode = pkBatchCode;
    }

    public String getVbatchcode() {
        return vbatchcode;
    }

    public void setVbatchcode(String vbatchcode) {
        this.vbatchcode = vbatchcode;
    }

    public String getCproductorid() {
        return cproductorid;
    }

    public void setCproductorid(String cproductorid) {
        this.cproductorid = cproductorid;
    }

    public String getInventoryStatus() {
        return inventoryStatus;
    }

    public void setInventoryStatus(String inventoryStatus) {
        this.inventoryStatus = inventoryStatus;
    }

    public String getWmsQty() {
        return wmsQty;
    }

    public void setWmsQty(String wmsQty) {
        this.wmsQty = wmsQty;
    }

    public String getNccQty() {
        return nccQty;
    }

    public void setNccQty(String nccQty) {
        this.nccQty = nccQty;
    }

    public void setDiscrepancyQty(String discrepancyQty) {
        this.discrepancyQty = discrepancyQty;
    }

    public String getDiscrepancyType() {
        return discrepancyType;
    }

    public void setDiscrepancyType(String discrepancyType) {
        this.discrepancyType = discrepancyType;
    }

    public Boolean getResolved() {
        return isResolved;
    }

    public void setResolved(Boolean resolved) {
        isResolved = resolved;
    }

    public Date getResolveTime() {
        return resolveTime;
    }

    public void setResolveTime(Date resolveTime) {
        this.resolveTime = resolveTime;
    }

    public String getResolver() {
        return resolver;
    }

    public void setResolver(String resolver) {
        this.resolver = resolver;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehousePk() {
        return warehousePk;
    }

    public void setWarehousePk(String warehousePk) {
        this.warehousePk = warehousePk;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getCproductorname() {
        return cproductorname;
    }

    public void setCproductorname(String cproductorname) {
        this.cproductorname = cproductorname;
    }

    public String getCproductorcode() {
        return cproductorcode;
    }

    public void setCproductorcode(String cproductorcode) {
        this.cproductorcode = cproductorcode;
    }

    @Override
    public String toString() {
        return "InventoryDiscrepancyDetail{" +
                "id=" + id +
                ", taskId=" + taskId +
                ", warehouseName='" + warehouseName + '\'' +
                ", warehousePk='" + warehousePk + '\'' +
                ", warehouseCode='" + warehouseCode + '\'' +
                ", materialName='" + materialName + '\'' +
                ", pkMaterial='" + pkMaterial + '\'' +
                ", materialCode='" + materialCode + '\'' +
                ", pkBatchCode='" + pkBatchCode + '\'' +
                ", vbatchcode='" + vbatchcode + '\'' +
                ", cproductorname='" + cproductorname + '\'' +
                ", cproductorid='" + cproductorid + '\'' +
                ", cproductorcode='" + cproductorcode + '\'' +
                ", inventoryStatus='" + inventoryStatus + '\'' +
                ", wmsQty=" + wmsQty +
                ", nccQty=" + nccQty +
                ", discrepancyType='" + discrepancyType + '\'' +
                ", discrepancyQty=" + discrepancyQty +
                ", isResolved=" + isResolved +
                ", resolveTime=" + resolveTime +
                ", resolver='" + resolver + '\'' +
                ", remark='" + remark + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
